package cn.iune.erp.inventory;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IItemBatchDao {
	
	public void insert(ItemBatch obj);
	
	public void delete(String fID);

	public ItemBatch update(ItemBatch obj) ;

	public List<ItemBatch> getAll();
	
	public ItemBatch getByID(String fID);
	
/*
	public long getCount(List<String> filters,List<Object> params);

	public List<ItemBatch> query(List<String> filters, String orderBy, 
	List<Object> params, Integer offset, Integer limit);
*/

	JSONObject query(JSONObject data) throws SQLException ;

	ItemBatch getByNo(String itemID, String batchNo, String enterpriseNo);

	JSONObject create(JSONObject data);
}
